package com.example.demo.business.dao;

import com.example.demo.business.bean.entity.HUser;
import org.springframework.data.repository.CrudRepository;

public interface HUserDao extends CrudRepository<HUser,Integer> {
    HUser findByDevToken(String deviceToken);
    HUser findByAccessToken(String accessToken);
    HUser findByPromoCode(String code);
    HUser findByTel(String tel);
    int countByReferId(int referId);
}
